package com.david.vo;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.ToString;

/**
 * @description: 响应状态枚举类
 * @create: 2021-04-25-11-24
 * @author: David
 **/
@Getter
@ToString
@AllArgsConstructor
public enum ResponseEnum {
    /**
     * 响应状态枚举类
     */

    SUCCESS(200, "响应正常"),
    ERROR(500, "服务器错误");


    private final Integer code;

    private final String message;

}
